package com.bianmaba.spring.mvc.method.support.annotations;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@JSON
public @interface StrutsJSON {
    @AliasFor(annotation = JSON.class)
    public String[] excludeProperties() default {};

    @AliasFor(annotation = JSON.class)
    public String[] includeProperties() default {};

    @AliasFor(annotation = JSON.class)
    public boolean ignoreHierarchy() default false;

    @AliasFor(annotation = JSON.class)
    public boolean enumAsBean() default false;

    @AliasFor(annotation = JSON.class)
    public boolean excludeNullProperties() default false;
}
